import request from "@/utils/request";




export function add(data) {
  return request({
    url: "/sinohis/pension/fee/packagemanager/creatorPackage",
    method: 'post',
    data

  });

}
export function search(params) {
  return request({
    url: "/sinohis/pension/fee/packagemanager/searchOfPackageOfConditions",
    method: 'get',
    params

  });

}
export function searchmeal(params) {
  return request({
    url: "/sinohis/pension/fee/packagemanager/searchPackageInfo/"+params.mark,
    method: 'get',
    params

  });

}
export function disable(data) {
  return request({
    url: "/sinohis/pension/fee/packagemanager/disablePackage/"+data.mark,
    method: 'put',
    data

  });

}
export function endisable(data) {
  return request({
    url: "/sinohis/pension/fee/packagemanager/enablePackage/"+data.mark,
    method: 'put',
    data

  });

}
export function replace(data) {
  return request({
    url: "/sinohis/pension/fee/packagemanager/modifyPackageInfo/"+data.mark,
    method: "PUT",
    data

  });

}
export function doDelete(params) {
  return request({
    url: "/sinohis/pension/fee/packagemanager/removePackage/"+params.mark,
    method: "DELETE",
    params

  });

}
export function searchmnemonicCodeOrName(data) {
  return request({
    url: "/sinohis/pension/fee/itemmanager/searchAllItemInfos",
    method: 'POST',
    data

  });

}
